<template>
  <div>
    <div>
      <el-card style="width: 800px;margin: 0 auto">
        <template #header>
          <div class="card-header">
            <span><el-icon><InfoFilled /></el-icon> 请先阅读用户协议与考试规范</span>
          </div>
        </template>
        <div style="min-height: 500px">

        </div>
        <template #footer>
         <div style="margin-left: 540px">
           <el-button type="danger" @click="logout">不同意</el-button>
           <el-button type="success" @click="submit">我已阅读并同意</el-button>
         </div>
        </template>
      </el-card>
    </div>
  </div>
</template>

<script>
export default {
  name: "Confirm",
  methods:{
    logout(){
      localStorage.removeItem("token")
      this.$router.push("/login")
    },
    submit(){
      this.$router.push("/theory")
    }
  }
}
</script>

<style scoped>

</style>
